package com.sz.zhiling.controller;

import org.springframework.web.bind.annotation.PathVariable;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RestController;

@RestController
@RequestMapping("/hello")
public class ServerController {
    @RequestMapping("/server1/{msg}")
    public String testServer1(@PathVariable("msg") String msg){
        return "server1:"+msg;
    }
}
